package com.heima.Mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.Article.Pojo.ApArticle;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


import java.math.BigInteger;
import java.util.Date;
import java.util.List;

@Mapper
public interface ArticleMapper extends BaseMapper<ApArticle> {
    //文章首页加载
    public List<ApArticle> ArticleLoad(@Param("size") Integer size, @Param("tag") Integer tag,
                                       Date maxBehotTime,
                                       Date minBehotTime,Integer loaddir);
    boolean updateStaticUrl(@Param("id")long id,@Param("static_url") String url);

}
